<!--navbar-->
<div class="navbar">
    <div class="navbar-inner">
        <div class="center">限时</div>
    </div>
</div>
<div class="pages">
    <div class="page no-swipeback" data-page="timeIndex" data-currpage="{$curePage}" data-maxpage="{$totalPage}">
        <div class="page-content {if:!empty($datalist)}infinite-scroll{/if}">
            <!--S list-->
            <div class="module module-product-list">
                <div class="bd list infinite-scroll-content" >
                    {foreach:items=$datalist }
                    {set:$free_time = ITime::getDiffSec($item['end_time'])}
                    <a href="{url:/yunsite/products/id/$item['goods_id']/active_id/$item['p_id']/promo/time}" class="product col-100 alink" cutid="{$item['p_id']}">
                        <figure>
                            <img data-src="{$item['goods_ad_img']}" class="lazy" alt="">
                            <figcaption>
                                <h3><em>【{$item['name']}】</em>{$item['gname']}</h3>
                                <div class="countdown">
                                    活动时间倒计时
                                    <div class="time"><b id='cd_hour_{$item['p_id']}'>{echo:floor($free_time/3600);}</b>时<b
                                            id='cd_minute_{$item['p_id']}'>{echo:floor(($free_time%3600)/60);}</b>分<b
                                            id='cd_second_{$item['p_id']}'>{echo:$free_time%60;}</b>秒</p></div>
                                </div>
                                <div class="pro-bar row">

                                    <div class="price">
                                        <ins>活动价<small>&yen;</small>{$item['award_value']}</ins>
                                        <del>市场价:<small>&yen;</small>{$item['price']}</del>
                                    </div>
                                    <small>包邮</small>
                                </div>
                            </figcaption>
                        </figure>
                    </a>
                    {/foreach}                    
                </div>
            </div>
            {if:empty($datalist)}
            <img src="http://oaavnhqhs.bkt.clouddn.com/20161019180851831.jpg" />
            {/if}
            <!--E list-->
            <div class="infinite-scroll-preloader preloader-hidden">
                <div class="preloader"></div>
            </div>
        </div>
    </div>
</div>


